<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="language" content="en" />

  <link rel="shortcut icon" href="<?php echo Yii::app()->theme->baseUrl; ?>/favicon.png" type="image/x-icon" >

  <!-- blueprint CSS framework -->
  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/screen.css" media="screen, projection" />
  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/print.css" media="print" />
  <!--[if lt IE 8]>
  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/ie.css" media="screen, projection" />
  <![endif]-->

  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/main.css" />
  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />

  <link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic">

  <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<div class="container" id="wrapper">

  <header id="header">
	<div id="account-wrapper">
		<div>Account</div>
		<div>Logout</div>
	</div>
  </header><!-- header -->

  <div id="main-wrapper">
  	<div id="sidebar">
      
      <div id="logo">
      	<?php echo CHtml::link(CHtml::image(Yii::app()->theme->baseUrl . "/img/logo.jpg"), '/'); ?>
      </div> <!--  logo -->
      
      <nav id="mainmenu">
      <?php
        $menuItems = Content::model()->getMenuItems();
      ?>
      <?php $this->widget('zii.widgets.CMenu',array(
        'items'=>$menuItems,
        'firstItemCssClass'=>'first',
        'lastItemCssClass'=>'last',
      )); ?>
      </nav><!-- mainmenu -->
      
  	</div> <!-- sidebar -->
  	<div id="main" role="main">
  		<div id="topmenu">
  			&nbsp;Top menu will display here...
  		</div>
  		<div id="content">
	    	<?php echo $content; ?>
	    </div>
  	</div> <!-- main content -->
  </div><!-- main -->
  
  <div class="clear"></div>
  
</div><!-- wrapper -->

<footer id="footer">
  <div class="topfooter">

  </div>
  <div class="bottomfooter">
    &copy; NEON FIELDS 
  </div>
</footer><!-- footer -->

</body>
</html>
